package com.hsjk.szwj.module.train.controller.app.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/08/28 10:45
 **/
@Data
public class OrderCreateReqVO {
    /**
     * sku ID
     */
    @Schema(description = "skuId")
    @NotNull(message = "skuId不能为空")
    private Long skuId;
    /**
     * 购买数量
     */
    @Schema(description = "购买数量")
    @NotNull(message = "购买数量不能为空")
    private Integer amount;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @NotNull(message = "备注不能为空")
    private String remark;

    /**
     * 报名信息
     */
    @Schema(description = "报名信息")
    private String signUpInfo;

    /**
     * 订单价格;单位：分
     */
    @Schema(description = "订单价格")
    @NotNull(message = "订单价格不能为空")
    private Long orderPrice;

    /**
     * 签单人id
     */
    @Schema(description = "签单人id")
    private Long signMemberId;

}
